﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">
  
  <head>
    
    <%@ include file="/WEB-INF/include/meta.jsp"%>
    <%@ include file="/WEB-INF/include/css.jsp"%>
    
  </head>
  <!-- end header -->
  <body>
    <div class="page-group">
      <div class="page page-current">
        
        <header class="bar bar-nav fs-header-small">
          <a href="${ctx.host}" class="icon icon-left pull-left"></a>
          <h1 class="title">课程签到</h1>
        </header>
        
        <div class="content" style="padding: 1.8rem;">
          
          <p style="color: #777; font-size: .7rem; margin-bottom: 3rem; text-align: justify;">
            请您务必在上完课程以后出示您的二维码签到！
          </p>
          
          <!-- <div style="background-color: #FEDC32; width: 100%; min-height: 12rem; text-align: center; line-height: 12rem;">
            签到扫码处？
          </div> -->
          <p style="margin-top: 5rem;"><a href="javascript:void(0);" class="button button-fill button-success qrscan-icon" style="height: 2rem; line-height: 2rem;">点击扫码</a></p>
          
          <p style="margin-top: 2rem; font-size: .7rem;" class="location-tips">请务必允许获取地理位置信息，如若不允许则无法进行签到。</p>
          
        </div>
      </div>
    </div>
    
    <%@ include file="/WEB-INF/include/script.jsp"%>
    <d:resource root="${ctx.resource}/build" type="script" src="js/page/signin/signin.js" />
    <script type="text/javascript">
      var jsConfig = JSON.parse('${wechatJsConfig}')
      require(['page/signin/signin'], function(page) {
        page.init({
          "jsConfig": jsConfig
        })
      })
    </script>
    
  </body>
</html>